#include <stdio.h>
#include <stdlib.h>

int main(int argc, char *argv[])
{
	long long n;
	scanf("%lld", &n);
	if (n % 4 == 0)
		printf("NO");
	else
		printf("YES");
	return 0;
}